From 775822d36cebcc1212b3f57c1f636d555e75f9ef Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 16 Feb 2006 16:35:09 +0100 Subject: [PATCH] Add back code to zero the 'saved eflags' value on vmx vmexit. vmx mode is unstable without this -- the root cause needs to be investigated. From: Jun Nakajima Signed-off-by: Keir Fraser --- xen/arch/x86/hvm/vmx/x86_32/exits.S | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/vmx/x86_32/exits.S b/xen/arch/x86/hvm/vmx/x86_32/exits.S index 7846cca10b..43abba29c3 100644 --- a/xen/arch/x86/hvm/vmx/x86_32/exits.S +++ b/xen/arch/x86/hvm/vmx/x86_32/exits.S @@ -61,6 +61,7 @@ pushl $HVM_MONITOR_EFLAGS; \ popf; \ subl $(NR_SKIPPED_REGS*4), %esp; \ + movl $0, 0xc(%esp); /* XXX why do we need to force eflags==0 ?? */ \ pushl %eax; \ pushl %ebp; \ pushl %edi; \ -- 2.30.2